package cn.gdchent.nativehotfix.tinker.act

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.View
import android.widget.TextView
import cn.gdchent.nativehotfix.R

class TinkerActivity : AppCompatActivity(),View.OnClickListener{
    private val FILE_END: String = ".apk"
    private lateinit var mPatchDir: String

    private val btnLoadApatch by lazy {
        findViewById<TextView>(R.id.btn_load_apatch)
    }
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_tinker)
        mPatchDir = externalCacheDir.absolutePath + "/tpatch/"
        btnLoadApatch.setOnClickListener(this)
    }

    override fun onClick(v: View?) {
        when(v?.id){
            R.id.btn_load_apatch ->{

            }
        }
    }
}
